package com.danger.Model.action;

import com.danger.Model.bean.UserInfoBean;
import com.danger.Model.listener.OnRegisterListener;
import com.danger.Model.listener.OnSendCheckNumListener;
import com.danger.Model.listener.OnVerifyCheckNumListener;

/**
 * Created by danger on 2016/3/18.
 */
public interface BindMobileModel {
    String checkPhone(String phone);

    String check(String phone, String checkNum);

    void sendChecknum(String phone, OnSendCheckNumListener onSendCheckNumListener);

    boolean verifyChecknum(String phone, String checkNum, OnVerifyCheckNumListener onVerifyCheckNumListener);

    boolean register(UserInfoBean userInfo, String phone, OnRegisterListener listener);
}
